<?php
class IndexController extends BaseController {
	
	function __construct(){
		parent::__construct();
		$this->checkLogin();
		$this->view->setScriptPath(APP_DIR.'/views/admin');
	}
	
	function indexAction(){
		
		$this->view->test='test.index';
		$this->view->render('index');
	}
	
	function headerAction(){

		$this->view->render('header');
	}
	
	function leftAction(){

		$this->view->render('left');
	}
	
	function rightAction(){

		$this->view->render('right');
	}
}

?>